﻿@model int
@using NavKet.Models
@{
    ViewBag.Title = "EditShopService";
    Layout = "~/Views/Admin/AdminMasterPage.cshtml";
}
<h2>
    Add Item</h2>
<div id="content">
    <form method="post" enctype="multipart/form-data" action="/ShopAdmin/AddItem?deptId=@Model">
    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
        <tr>
            <th valign="top">
                Item Name:
            </th>
            <td>
                <input type="text" name="txtItemName" class="inp-form" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <th valign="top">
                Item Price:
            </th>
            <td>
                <input type="text" name="txtPrice" class="inp-form" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <th valign="top">
                Item Quantity:
            </th>
            <td>
                <input type="text" name="txtQuantity" class="inp-form" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <th valign="top">
                Category :
            </th>
            <td>
                <select name="Department">
                    @foreach (Department item in ViewBag.ShopDepartments)
                    {                   
                        <option  value="@item.id">@item.name</option>                          
                    }
                </select>
            </td>
        </tr>
        <tr>
            <th>
                Image 1:
            </th>
            <td>
                <input type="file" name="MainImageUploader" />
            </td>
            <td>
                <div class="bubble-left">
                </div>
                <div class="bubble-inner">
                    JPEG, GIF 5MB max per image</div>
                <div class="bubble-right">
                </div>
            </td>
        </tr>
        <tr>
            <th valign="top">
                model
            </th>
            <td>
                <input type="text" name="txtModel" class="inp-form" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <th valign="top">
                Relesed Year
            </th>
            <td>
                <input type="text" name="txtYear" class="inp-form" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <input type="submit" class="form-submit" value="">
    </form>
</div>
